home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Background Scroller.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
674b
|
37 lines
[SUBJECT]
Description=The background image is actually scrolled on the page
ImageIndex=-1
Folder=Graphical Effects
[HEAD_TEXT]
[BODY_TEXT]
;<script language="JavaScript">
;<!-- Begin
;var backgroundOffset = 0;
;var bgObject = eval('document.body');
;bgObject.background="`image`";
;
;function scrollBG(maxSize) {
;backgroundOffset = backgroundOffset + 1;
;if (backgroundOffset > maxSize) backgroundOffset = 0;
;bgObject.style.backgroundPosition = "0 " + backgroundOffset;
;}
;var ScrollTimer = window.setInterval("scrollBG(307)", `timeout`);
;// End -->
;</script>
[`image`]
Kind=U
Value=image1.gif
[`timeout`]
Kind=N
Value=100